package com.wangzefeng.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 流程类型表
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-18
 */
public class Workflow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "workflow_id", type = IdType.AUTO)
    private Integer workflowId;

    /**
     * 流程key
     */
    private String workflowKey;

    /**
     * 流程名称
     */
    private String workflowName;

    /**
     * 流程类型描述
     */
    private String workflowDescribe;

    /**
     * 用于排序
     */
    private Integer orderNumber;


    public Integer getWorkflowId() {
        return workflowId;
    }

    public void setWorkflowId(Integer workflowId) {
        this.workflowId = workflowId;
    }

    public String getWorkflowKey() {
        return workflowKey;
    }

    public void setWorkflowKey(String workflowKey) {
        this.workflowKey = workflowKey;
    }

    public String getWorkflowName() {
        return workflowName;
    }

    public void setWorkflowName(String workflowName) {
        this.workflowName = workflowName;
    }

    public String getWorkflowDescribe() {
        return workflowDescribe;
    }

    public void setWorkflowDescribe(String workflowDescribe) {
        this.workflowDescribe = workflowDescribe;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    @Override
    public String toString() {
        return "Workflow{" +
        "workflowId=" + workflowId +
        ", workflowKey=" + workflowKey +
        ", workflowName=" + workflowName +
        ", workflowDescribe=" + workflowDescribe +
        ", orderNumber=" + orderNumber +
        "}";
    }
}
